﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TTPL8.ascx.cs" Inherits="ReportTracking.TitleReport.TTPL8" %>
<div>
<div id="ttpl3" class="titleReport">
    Tổng hợp tình hình vi phạm các tiêu chí(theo địa phương)
</div>
<div id="toolbarPL8" class="toolbar">
   <div id="Time">
   <table border="0" cellspacing="0" cellpadding="0" width="100%">
   	<tr>
   		<td>Ngày bắt đầu: <input id="sDay" type="text"></input> </td>
        <td>Ngày kết thúc: <input id="eDay" type="text"></input>  </td>
        <td>Đơn vị KDVT: <input id="cbDVKD" multiple name="dept"  style="width:200px;"> </td>
        <td><a id="btnSearchReport" onclick="CreateGridPL8('list');">Xem</a></td>
        <td>
           <div id="divbtnReport" style="display:none">
                        <a id="export" style="cursor: pointer" onclick="ReportTracking.Core.Processor.ExportData();">
                            <img src="Styles/jqueryEasy/icons/page-white-excel.png" />
                            </a>
                            <a id="chart" style="cursor: pointer" onclick="ReportTracking.Core.Processor.OpenWindowChart();">
                                <img src="Styles/jqueryEasy/icons/chart-bar-icon.png" />
                            </a>
            </div>
        </td>

   	</tr>
   </table>
   
   </div>
</div>
<div id="quanlyspeed" style="overflow: hidden;"></div>
</div>

<script language="javascript">
    $(function () {
        
        $('#sDay').datebox({
            required: true
        });
        $('#eDay').datebox({
            required: true
        });
        var date = new Date();
        var y = date.getFullYear();
        var m = date.getMonth() + 1;
        var d = date.getDate();
        var sDate = m + '/' + d + '/' + y;
        $('#sDay').datebox('setValue', sDate);
        $('#eDay').datebox('setValue', sDate);

        $('#cbDVKD').combotree({
        //url: 'combobox_data.json',
            onShowPanel: function () {
                ReportTracking.Core.Processor.GetDVGTVT();
            }
    });

    $('#btnSearchReport').linkbutton({
        iconCls: 'icon-search'
    });

});
//ReportTracking.Core.Processor.GetDVGTVT();
</script>